<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五子棋对战</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <main class="wrapper">
        <h1>在线五子棋</h1>
        <section id="game-info" class="info-card">
            <p class="status-line">
                <span class="label">当前执子：</span>
                <span id="current-player" class="player player-black">黑方</span>
            </p>
            <p id="status-message">黑方先行，加油！</p>
            <div class="timer">
                <span class="label">倒计时：</span>
                <span id="turn-timer" class="timer-display">30</span>
                <span class="timer-unit">秒</span>
            </div>
            <div class="actions">
                <button id="undo-button" class="btn-secondary" disabled>悔棋</button>
                <button id="reset-button" class="btn-primary">重新开始</button>
            </div>
        </section>
        <canvas id="gomoku-board" width="600" height="600"></canvas>
    </main>

    <script src="client.js"></script>
</body>
</html>
